<!DOCTYPE html>
{% autoescape true %}
<html>
  <!-- [START head_html] -->
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
  </head>
  <!-- [END head_html] -->
  <body>
    {% for task in tasks %}
      {% if task.author %}
        <b>{{ task.author.nickname() }}</b> wrote:
      {% else %}
       An anonymous person created:
      {% endif %}
      <blockquote>{{ task.brief }}</blockquote>
      <blockquote>{{ 'Points: ' + task.points }}</blockquote>
    {% endfor %}

    <form action="/create?family_name={{ family_name }}" method="post">
      <div><textarea name="brief" rows="1" cols="30"></textarea></div>
      <div><input type="submit" value="Create task"></div>
    </form>

    <hr>

    <form>Family name:
      <input value="{{ family_name }}" name="family_name">
      <input type="submit" value="switch">
    </form>

    <a href="{{ url|safe }}">{{ url_linktext }}</a>

  </body>
</html>
{% endautoescape %}
